﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Idte.Academic.Assessment;
using Idte.Academic.Core;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Idte.Academic.Assessment.Methods
{
    public class Question<TParent> : Question
    {
        [ForeignKey("ParentId")]
        public TParent Parent { get; set; }
        public int ParentId { get; set; }
    }
    public class Question : IAssessmentMethod<Answer>
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }

        public string Title { get; set; }
        public string Text { get; set; }
        public string Feedback { get; set; }
        public IRating Assess(ICollection<Answer> evidences)
        {
            throw new NotImplementedException();
        }
    }
}
